package com.rocket.bedroom.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-05-01 20:08:04
 */
@Data
@TableName("class_info")
public class ClassInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 班级编号
     */
    @TableId
    private Long classId;
    /**
     * 班级名称
     */
    private String className;
    /**
     * 班主任
     */
    private String claTeacher;
    /**
     * 教员
     */
    private String claInstructor;
    /**
     * 所属年级Id（外键）
     */
    private Long gradeId;

    public ClassInfoEntity() {

    }


    public ClassInfoEntity(Long gradeId) {
        this.gradeId = gradeId;
    }
}
